<form action="index.php?app=whyshopseckill&ctl=admin_yuyue&act=saveSetting" id='newcurrency-edit-form' method="POST">
  <div class="tableform">
    <div class="division">
      <table width="100%" cellspacing="0" cellpadding="0">
        <tbody>
           <tr>
            <th><em class="red">*</em><label for="pre_minute"><{t}>提前提醒时间:<{/t}></label></th>
            <td><{input type="number" name="pre_minute" id="pre_minute" required="1" vtype="number"  class="x-input " autocomplete="off" value=$pre_minute}>分钟</td>
          </tr>

           <tr>
             <th><em class="red">*</em><label for="pre_minute"><{t}>微信模板消息模板ID:<{/t}></label></th>
             <td><{input style="width:400px;" type="text" name="wx_template_id" id="wx_template_id" required="1" class="x-input " autocomplete="off" value=$wx_template_id}></td>
           </tr>
           <tr>
             <th><em class="red">*</em><label for="pre_minute"><{t}>微信模板消息模板:<{/t}></label></th>
             <td><{input cols=50 rows=20 type="textarea" name="wx_template_source" id="wx_template_source" required="1" class="x-input " autocomplete="off" value=$wx_template_source}></td>
           </tr>
        </tbody>
      </table>
    </div>
  </div>


  <div class="table-action">
    <{button id="newcurrency-edit-form-submit" label=$___b2c="保存"|t:'b2c' type="submit" class="btn-primary"}>
</div>
</form>





<script>


$('newcurrency-edit-form').store('target',{
  onComplete:function(){
    if(opener.finderGroup['<{$env.get._finder.finder_id}>'])
    opener.finderGroup['<{$env.get._finder.finder_id}>'].refresh();
    window.close();
  }
});
</script>